#include <stdio.h>
int main()
{
   int A,B,he,cha,ji,shang;

   scanf("%d%d",&A,&B);

   he=A+B;
   cha=A-B;
   ji=A*B;
   shang=A/B;


    printf("%d + %d = %d\n",A,B,he);
    printf("%d - %d = %d\n",A,B,cha);

    printf("%d * %d = %d\n",A,B,ji);

    printf("%d / %d = %d\n",A,B,shang);


    return 0;
}
